package com.exonline.base;

import java.sql.SQLException;
import java.util.List;

public interface IBaseService<T> {
    //查询全部
    public List<T> queryAll(int pageSize,int pageNo) throws SQLException;
    //查询一条
    public T queryOneForId(String id) throws SQLException;
    //添加
    public void add(Object...obj) throws SQLException;
    //更新
    public void update(Object...obj) throws SQLException;
    //删除
    public void deleteById(String id) throws SQLException;
}
